package com.xk.sport.backend.common.entity;

import java.io.Serializable;

public class TaskQuery implements Serializable{
    private String lessonName;
    private String teacherName;
    private String communityName;
    private long startTime;
    private long endTime;
    private int page = 1;
    private int size = 20;
    private String sortKey = "createTime";
    private int sortAsc = 0;

    public int getPageNum(){
        return page - 1;
    }

    public long getStartTime() {
        return startTime;
    }

    public void setStartTime(long startTime) {
        this.startTime = startTime;
    }

    public long getEndTime() {
        return endTime;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
    }

    public String getLessonName() {
        return lessonName;
    }

    public void setLessonName(String lessonName) {
        this.lessonName = lessonName;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public String getSortKey() {
        return sortKey;
    }

    public void setSortKey(String sortKey) {
        this.sortKey = sortKey;
    }

    public int getSortAsc() {
        return sortAsc;
    }

    public void setSortAsc(int sortAsc) {
        this.sortAsc = sortAsc;
    }
}
